<?php
/**
 * Created by PhpStorm.
 * User: xmy
 * Date: 18-4-4
 * Time: 下午12:41
 */

namespace vola;


class Db
{
    public static function table($tablename) {
        return new Model($tablename);
    }

    public static function connect($config = []) {
        return Model::connection($config);
    }
}